package com.belizer.demo.str;

public class Demo4 {
    public static void main(String[] args) {
//    final类型（String）仍可以创建一个可变的对象
        String s1 = "123";

        s1= "1342143";

        System.out.println("s1 = " + s1);
        System.out.println("s1.hashcode = " + s1.hashCode());
        System.out.println("s1.hashcode = " + s1.hashCode());
    }
}
